package com.wedo.commons.wechat;


/**
 * 该类专门用于存储项目中用到的常量类
 * ClassName: Constants 
 * @Description: TODO
 * @author micoMo
 * @date 2017-4-27
 */
public class Constants {
	
	
	public final static String APPID = "wx3b13ae0f978c6995";      //公众号appid
	public final static String APIKEY = "M6nvQLeASlAuGx7cKJMt0mPDcciC28vx";    //api秘钥
	public final static String APPSECRET = "b291c8a73b1a07be528c9493b8f7c097";    //应用秘钥
	public final static String MCH_ID = "1502735011" ;     //商户号
	public static final String TRADE_TYPE = "JSAPI";     //支付方式
	
	// 过滤器关键词数组
	public final static String FILTERKEY[] = {};

	//服务器地址 
	public final static String SERVER_ADDRESS = "192.168.1.12";
	
	//上传文件成功后保存图片的真实文件夹
	public final static String REAL_DIRECTORY = "img";
	public final static String FILE_DIRECTORY = "http://"+SERVER_ADDRESS+"/CleanCar/img";
	
    //默认头像
    public final static String HEADIMGURL = "http://"+SERVER_ADDRESS+"/CleanCar/img/1.png";
    
	//上传时读到服务器内存中设定的限制(与服务器配置成正比 与同时上传的人数成反比关系)
	public final static int SIZE_THRESHOLD = 64*1024;
	
	//3des加密24字节秘钥
    public final static byte[] keyBytes = {0x11, 0x22, 0x4F, 0x58, (byte)0x88, 0x10, 0x40, 0x38
            , 0x28, 0x25, 0x79, 0x51, (byte)0xCB, (byte)0xDD, 0x55, 0x66
            , 0x77, 0x29, 0x74, (byte)0x98, 0x30, 0x40, 0x36, (byte)0xE2};

	public static void main(String[] args) {
		System.out.println('9' > 'D');
	}

}
